var n = new Vue({
    el: "#app",
    data: {
        currlike: 0,
        currIndex: 0,
        likeArr: ["综合排序", "距离最近", "销量最高", "筛选"
        ],
        buyArr: ["年货节热卖", "津站联盟", "满减优惠", "品质联盟",
        ],
        dpArr: [
            { pic: 'http://p0.meituan.net/deal/ce27d7b711b5991fdfd78b820e35b557288464.png', name: "金百万烤鸭（苏家坨店)", pf: 4.3, xs: 1632, qs: 20, ps: 3, time: 47, jl: 3.9 },
            { pic: 'http://p0.meituan.net/deal/ce27d7b711b5991fdfd78b820e35b557288464.png', name: "滔香金源饺子馆", pf: 4.4, xs: 230, qs: 20, ps: 3.5, time: 44, jl: 2.5 }
        ],
        dbArr: ["首页", "订单", "我的"]
    },

    methods: {
        clickLike(index) {
            this.currlike = index;
        },
        clickBtn(index) {
            this.currIndex = index;
        }
    },

})